import { useMemo } from 'react'

function useFieldIcon({ fieldType, fieldClassify }) {
  const icon = useMemo(() => `icon-${fieldType}-${fieldClassify}`, [])
  return [icon, { fontSize: '14px' }]
}

export default useFieldIcon
